﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.UI;
using System.Web.UI.WebControls;

namespace ProjectQuaDep.Admin.Company
{
    public partial class demophat : System.Web.UI.Page
    {
        protected void Page_Load(object sender, EventArgs e)
        {
            //int kq = BO.DemoKeThua.DongVatChung.XayDungConMeo.SetNumber(4);//co static
            //Response.Write(kq);

            //BO.DemoKeThua.DongVatChung.XayDungConMeo xd = new BO.DemoKeThua.DongVatChung.XayDungConMeo();
            //int kq2 = xd.SetNumberNoStatic(5);
            //Response.Write(kq2);

            //BO.DemoKeThua.DongVatChung.XayDungDongVat xd3 = new BO.DemoKeThua.DongVatChung.XayDungConMeo();
            //int kq3 = xd3.SetNumberNoStatic(6);
            //Response.Write(kq3);

            BO.DemoKeThua.DongVatChung.XayDungConMeo xd4 = new BO.DemoKeThua.DongVatChung.XayDungConMeo();
            int kq4 = xd4.SetNumberNoStatic(6);
            Response.Write(kq4);

            BO.DemoKeThua.DongVatChung xdd = new BO.DemoKeThua.DongVatChung();
            //xdd.demo1;
            //BO.DemoKeThua.DongVatChung.demo2;
            


            //thua ke A la bo B la con B se thua ke toan bo. cua A(A co' gi` B co' do)
            //-public dung o dau cung duoc
            //-private dung o noi chua no ma thoi
            //-protected dung o noi chua no va noi no dc ke tha VD A la bo B la con thi` A dung` dc thi b dung duoc
        }   
    }
}